• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • IFSPOP–Another (And A Better) IFS Interface

    August 7, 2013 Hey, Ted

    Note: The code accompanying this article is available for download here.

    I read your article, Another IFS Interface, and I agree with you that IBM‘s green-screen solutions leave a lot to be desired. I got so fed up with WRKLNK, and the even more obtuse WRKFLR, that I wrote my own solution. It’s nothing fancy, but it is a lot better than what exists. It’s a green-screen solution written in RPG.

    I modeled it after POP, one of my favorite tools, from the System/36 days. The idea, like POP of old, is that if there is something you want to do with an IFS object, you could write your own code to be included in IFSPOP. I have found it to be useful in that I don’t have to flip over to System i Navigator in order to poke around in the IFS.

    The main program, IFSPOPR, is a simple load-all subfile that can handle up to 9999 entries. (I should update it, but work keeps getting in the way. I wrote IFSPOP on a budget of zero dollars in my spare time.)

    Since it is extendable, I ask anyone who develops an additional option to IFSPOP to send it to you to for “re-distribution.” That could help make it more popular and usable.

    Most of the options I wrote for IFSPOP just do the basics and are good as examples on how to write extension programs. Since I am not very good at dealing with the IFS, I’m sure someone else can improve on these programs. The printing function is the one program that really shows what can be done with IFSPOP.

    Attached is a save file for version 6.1. The source is also included in the library. To run, add library IPSPOP to the library list and enter the command IFSPOP.

    –Mark Keck

    I remember POP. It was a big help to me on the S/36, and what’s more, it was cheap. It had to be, because I was working for a small private college in those days and we didn’t have any money.

    Here’s an example of the IFSPOP screen:

    Figure 1

    (Click graphic to enlarge.)

    I have enjoyed using IFSPOP in my shop. I was intrigued that I could add my own user options. I’ll use option OD (hexadecimal dump) to illustrate how that’s done.

    Write a program called IFSPOPSOD to run the OD function.

    H DEBUG OPTION(*SRCSTMT:*NODEBUGIO) DFTACTGRP(*YES)
     *__________________________________________________
     *
    D FILENAME        S            376
    D CMD             S            512
    D CMDLEN          S             15P 5
     *_________________________________________________
     *
    C     *ENTRY        PLIST
    C                   PARM                    FILENAME
     *
    C                   EVAL      CMD = 'QSH CMD(''od -t
     cx ''''' +
    C                             %trim(filename) +
    C                             ''''' | Rfile -w /
    qsys.lib/qsysprt.file'')'
    C                   EVAL      CMDLEN = %len(%trim(CMD))
    C                   CALL(E)   'QCMDEXC'
    C                   PARM                    CMD
    C                   PARM                    CMDLEN
     *
    C                   EVAL      *INLR = *ON
    

    Add option OD, with a description of Hex dump, to database table (physical file) IFSPOPRO. IFSPOP reads this file to build the legend of options.

    Many thanks to Mark Keck for the IFSPOP utility.

    RELATED STORY

    Another IFS Interface



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    New Generation Software

    IBM Query/400? DB2 Web Query?

    Compiled Report Programs?

    You know the value of IBM i and Db2 on i. But has your company overlooked the quick ROI it can achieve simply by replacing unsupported query software and legacy report programs?

    NGS-IQ simplifies and automates the creation, execution, and delivery of queries, reports and files to Excel, Web pages, multidimensional models, Adobe PDF, Power BI, and more.

    Talk to us about your goals.

    Request a demo or FREE trial.

    www.ngsi.com – 800-824-1220

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    Maxava:  FREE Webinar: Test your DR without Downtime. September 12
    System i Developer:  Upgrade your skills at the RPG & DB2 Summit in Minneapolis, Oct 15-17.
    Linoma Software:  GoAnywhere Secure File Transfer. Simplify. Automate. Encrypt.

    More IT Jungle Resources:

    System i PTF Guide: Weekly PTF Updates
    IBM i Events Calendar: National Conferences, Local Events, and Webinars
    Breaking News: News Hot Off The Press
    TPM @ The Reg: More News From ITJ EIC Timothy Prickett Morgan

    Fall COMMON Conference Just One Month Away IBM Forms OpenPower Consortium, Breathes New Life Into Power

    Leave a Reply Cancel reply

Volume 13, Number 15 -- August 7, 2013
THIS ISSUE SPONSORED BY:

PowerTech
WorksRight Software
Profound Logic Software

Table of Contents

  • IFSPOP–Another (And A Better) IFS Interface
  • SQL and Invalid Decimal Data
  • Admin Alert: Budgeting For Your Next Power Systems Upgrade

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • You Can Now Get IBM Tech Support For VS Code For i
  • Price Cut On Power S1012 Mini Since Power S1112 Ain’t Coming Until 2026
  • IBM i: Pro and Con
  • As I See It: Disruption
  • IBM i PTF Guide, Volume 27, Number 30
  • The Turning Point For Power Systems Is Here, And Now
  • How IBM i Users Can Compete In The Digital Era With Composable Commerce
  • IBM Streamlines Data Migration With New Partition Mirror Tech
  • Profound Logic Adds MCP To IBM i AI Tool
  • IBM i PTF Guide, Volume 27, Number 29

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle